
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户注册</title>
</head>
<body>
提示：<%= session.getAttribute("msg") %>
<h1>用户注册</h1>
<form action="<%= request.getContextPath()%>/RegistServlet" method="post">
 name:<input type="text" name="name">
 password:<input type="text" name="password">
 <input type="submit" value="注册">
 <a href="login.jsp">登录</a>
</form>
</body>
</html>